/**
 * Created by Administrator on 2016/4/6.
 */


    $(function () {
        var qrcode = new QRCode("qrcode");

        var $url = $("#newpkginstall").attr("href");
        qrcode.makeCode($url);

        $(".downlink").hover( function() {
                var $url = $(this).attr("href");
                $("#tip").html($url);
                qrcode.makeCode($url)
            }, function(){
            $("#qrcode").style.display = "none";
             });
     });

